package cn.lycode.common.core.domain.model;

import cn.lycode.common.core.page.PageDomain;
import cn.lycode.common.enums.TrueFalseEnum;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@EqualsAndHashCode(callSuper = true)
@Data
public class ConditionDTO extends PageDomain {

    /**
     * 搜索内容
     */
    private String keyword;  //名字

    private Date beginTime;

    private Date endTime;

    /**
     * 用于拼接SQL以过滤数据
     */
    private String dataScope;

    /**
     * 是否隐藏
     */
    private TrueFalseEnum isHidden;
    private TrueFalseEnum isDisable;
    private TrueFalseEnum isLock;

    private Long deptId; //部门ID
    private Long roleId;  //角色Id
    private String userId; //用户id
    private String personNo; //员工号
    private String mobile; //电话号
    private String status; //状态
    private Boolean isThisDeep; //是否只查询当前层级
    private String dictVar; // 字典变量
    private String classify; // 分类
}